package net.yla.smartbus.module.ba.group.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: Yee
 * @date: 2021/6/18 17:11
 */
@Data
@NoArgsConstructor
public class GroupTreeDO implements Serializable {

    private Integer orgId;

    private Integer parent;

    private String orgName;

    private List<GroupTreeDO> children;

    public GroupTreeDO(List<GroupTreeDO> children) {
        this.children = children;
    }
}
